<template>
  <div>
    <h3>{{ name }}歌曲列表--id---{{ id }}</h3>
  </div>
</template>

<script>
export default {
  name: "MusicItem",
  data() {
    return {
      name: "",
      id: "",
    };
  },
  mounted() {
    console.log(this);
    const { name, id } = this.$route.query;
    this.name = name;
    this.id = id;
  },
};
</script>

<style></style>
